package com.tn.service.homepage;

import com.tn.controller.alarm.common.model.homepage.vo.WarningCarDataVO;
import com.tn.controller.alarm.common.model.statistics.vo.CurrentTruckLoadingStatisticsVO;
import com.tn.controller.alarm.common.model.statistics.vo.LoadCarStatisticVO;
import com.tn.controller.alarm.common.model.TextAndValueVO;

import java.util.List;

public interface CommonPageService {
    /**
     * 获取当前货车统计
     * @return
     */
    CurrentTruckLoadingStatisticsVO getCurrentTruckLoadingStatistics();

    Integer getTruckLeaveCount();

    List<TextAndValueVO<String,Integer>> getTruckWorkTimeStatistic();

    LoadCarStatisticVO getLoadCarStatistic();

    List<WarningCarDataVO> getWarnCarList(String type);

    List<TextAndValueVO<String,Float>> getAllGoodsTypeStatistic();
}
